package com.top.application.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.top.application.dao.SecurityKeyEntityMapper;
import com.top.application.entity.SecurityKeyEntity;
import com.top.application.service.SecurityService;

@Service
public class SecurityServiceImpl implements SecurityService{
	@Autowired
	private SecurityKeyEntityMapper securityKeyEntityMapper;
	@Override
	public int delete(Integer id) {
		return securityKeyEntityMapper.delete(id);
	}

	@Override
	public int insert(SecurityKeyEntity securityKeyEntity) {
		return securityKeyEntityMapper.insert(securityKeyEntity);
	}

	@Override
	public int update(SecurityKeyEntity securityKeyEntity) {
		return securityKeyEntityMapper.update(securityKeyEntity);
	}

	@Override
	public SecurityKeyEntity selectByMap(Map<String, Object> paramMap) {
		return securityKeyEntityMapper.selectByMap(paramMap);
	}

}
